package com.shanshan.community.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class DemoController {


    @GetMapping("/ddd")
    public String getTitle(Model model){
        model.addAttribute("title","hello");
        return "/thymeleaf";
    }
}
